package top.rainf.domain.dto;

import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import top.rainf.domain.vo.Area;
import top.rainf.domain.vo.Block;

import java.util.List;

/**
 * @author 星环
 * @date 2023/5/10 11:28:11
 * @description
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
//remap
public class AreaWithBlocks {
    //
    private int id;
    private Area area;
    private List<Block> blocks;

}
